﻿
package org.aquiferserver.common 
{
	
	/**
	 * ...
	 * @author Seth Albanese
	 * @version $Id: HandshakeMessage.as 60 2009-06-15 08:47:09Z salbanese0080@gmail.com $
	 */
	[RemoteClass(alias="org.aquiferserver.common.HandshakeMessage")]
	public class HandshakeMessage extends AquiferMessage
	{
		
		private var _clientId:int;
		private var _peers:Array;
		
		public function HandshakeMessage() 
		{			
			super();
			this.type = MessageType.MT_HANDSHAKE;
			this.sender = AquiferMessage.FROM_SERVER;
		}
				
		public function get clientId() : int { return _clientId; }
		public function set clientId( id:int ) : void { _clientId = id; }
		
		public function get peers() : Array { return _peers; }
		public function set peers( peers:Array ) : void { _peers = peers; }
		
	}
	
}